using Commons.Models.Definitions;
using Commons.Models.Stats;
using System;

namespace Commons.Events
{
	public class StatChangeEventArgs : EventArgs
	{
		public IStatUnit Unit { get; private set; }
		public int PreviousValue { get; private set; }
		public int NewValue { get; private set; }

		public StatChangeEventArgs (IStatUnit unit, int previousValue, int newValue)
		{
			this.Unit = unit;
			this.PreviousValue = previousValue;
			this.NewValue = newValue;
		}
	}
}

